package com.sample.tdf.domain;

import cn.com.taiji.common.annotation.BaseJoinId;
import cn.com.taiji.common.base.BaseJoinDomain;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 机构员工关联表
 */
@Data
@NoArgsConstructor
@Entity
@Table(name = "organization_employee")
public class OrganizationEmployee extends BaseJoinDomain {
    private static final long serialVersionUID = 7578292815541249813L;

    @BaseJoinId(index=BaseJoinId.Index.first)
    private String organizationId;

    @BaseJoinId(index=BaseJoinId.Index.second)
    private String employeeId;
}
